$(function() {
	$("button, input:submit, input:reset, input:button").button();

	$("button, input:submit, a", ".plusthick").button({
		icons : {
			primary : 'ui-icon-plusthick'
		}
	});

	$("button, input:submit, a", ".closethick").button({
		icons : {
			primary : 'ui-icon-closethick'
		}
	});

	$("button, a", ".normalbutton").button();

	$("a", ".plusthick").click(function() {
		return true;
	});

	$("a", ".closethick").click(function() {
		return true;
	});

	$("a", ".normalbutton").click(function() {
		return true;
	});

});

/*
function checkedAll(formName, fieldName) {
	if (!document.forms[formName]) {
		return;
	}
	var objCheckBoxes = document.forms[formName].elements[fieldName];
	if (!objCheckBoxes) {
		return;
	}
	var countCheckBoxes = objCheckBoxes.length;
	var checkAllBox = "checkAll-" + fieldName
	var checked = false
	if (document.forms[formName].elements[checkAllBox].checked) {
		checked = true
	}
	if (!countCheckBoxes) {
		objCheckBoxes.checked = checked;
	} else {
		for ( var i = 0; i < countCheckBoxes; i++) {
			objCheckBoxes[i].checked = checked;
		}
	}
}
*/